public class BaseAccount {
    public String name;
    public int ID;
    public double balance;//账户余额


    public BaseAccount(String name, int ID, double balance) {
        this.name = name;
        this.ID = ID;
        this.balance = balance;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }
    public void printAccountInfo(){
        System.out.println("");
    }

}
